import pygame, os

class Cursor():
    """Player cursor"""
    
    def __init__(self):
        self.image = self.load_image()
        self.rect = self.image.get_rect()
        
        self.velX = 0
        self.velY = 0
        
    def draw(self, screen):
        screen.blit(self.image, self.rect)
        
    def load_image(self):
        return pygame.image.load(os.path.join('imgs', 'cursor.png')).convert_alpha()
        
    def update(self):
        self.rect.move_ip(self.velX, self.velY)